<%
include("/inc/header.html"){}
%>

<div class="container">

    <% if(!isEmpty(message)) {%>
    <div class="alert alert-success alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <strong>helle ${username}!</strong> ${message}
    </div>

    <% } %>
    <form class="form-signin" method="post" action="/user/login">
        <h2 class="form-signin-heading">Please sign in</h2>

        <div class="form-group">
            <label for="username">Email address</label>
            <input type="text" name="username" class="form-control" placeholder="username" required autofocus>
        </div>
        <div class="form-group">
            <label for="Password">Password</label>
            <input type="password" name="password" class="form-control" placeholder="password" required>
        </div>

        <div class="checkbox">
            <a href="/user/regin">注册</a>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
    </form>



</div> <!-- /container -->


<%
include("/inc/footer.html"){}
%>